import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from 'axios'
//引入element组件
import ElementUI from 'element-ui';
//引入css样式
import 'element-ui/lib/theme-chalk/index.css';
//使用中间件
Vue.use(ElementUI);
Vue.config.productionTip = false

//替换vue本来的http模块
Vue.prototype.$http = axios


new Vue({
  store,
  router,
  render: h => h(App)
}).$mount('#app')
